﻿using System;
using System.ComponentModel.DataAnnotations;
using FwProject.Core.Restaurant;
using Abp.AutoMapper;
namespace FwProject.Authorization.Accounts.Dto
{
    [AutoMap(typeof(RestaurantInfo))]
    public class RestauratRegisterInput
    {
        /// <summary>
        /// 餐厅地址
        /// </summary>
        /// <value>The restaurant address.</value>
        [Required]
        [StringLength(RestaurantInfo.StringLength)]
        [Display(Name = "餐厅地址")]
        public string RestaurantAddress { get; set; }

        
        
        [Display(Name = "工厂id")]
        public Guid? FactoryinfoId { get; set; }
        /// <summary>
        /// 餐厅名称
        /// </summary>
        /// <value>The name of the restaurant.</value>
        [Required]
        [StringLength(RestaurantInfo.StringLength)]
        [Display(Name = "餐厅名称")]
        public string RestaurantName { get; set; }


        /// <summary>
        /// 经度
        /// </summary>
        /// <value>The longitude.</value>
        [Required]
        [StringLength(RestaurantInfo.StringLength)]
        [Display(Name = "经度")]
        public string longitude { get; set; }


        /// <summary>
        /// 纬度
        /// </summary>
        /// <value>The latitude.</value>
        [Required]
        [StringLength(RestaurantInfo.StringLength)]
        [Display(Name = "纬度")]
        public string latitude { get; set; }
        /// <summary>
        /// 餐厅绑定司机
        /// </summary>
        /// <value>The employee driverid.</value>
       
        [Display(Name = "司机编号")]
        public long EmployeeDriverid { get; set; }

        /// <summary>
        /// 拼音首字母
        /// </summary>
        /// <value>The character.</value>
        [Required]
        [Display(Name = "拼音首字母")]
        public string Character { get; set; } = "A";
    }
}
